// Physical memory layout for minimal OS

// QEMU virt machine memory map:
// 0x00001000 -- boot ROM
// 0x10000000 -- UART0
// 0x80000000 -- kernel entry point

// UART registers
#define UART0 0x10000000L

// Kernel memory layout
#define KERNBASE 0x80000000L
#define PHYSTOP (KERNBASE + 128*1024*1024)

// Stack size
#define STACK_SIZE 4096
